Skip to content

fix(tests): Helm 4 compatability#681

Open
adwk67 wants to merge 3 commits intomainfrom
chore/helm-4
Open

fix(tests): Helm 4 compatability#681
adwk67 wants to merge 3 commits intomainfrom
chore/helm-4

Conversation

@adwk67
Copy link
Member

@adwk67 adwk67 commented Feb 25, 2026

Description

Remove duplicate env-vars that showed a warning with Helm 3 but throw an error with version 4.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@adwk67 adwk67 self-assigned this Mar 2, 2026
@adwk67 adwk67 marked this pull request as ready for review March 2, 2026 10:34
@adwk67 adwk67 moved this to Development: Waiting for Review in Stackable Engineering Mar 2, 2026
@dervoeti dervoeti self-requested a review March 2, 2026 15:39
@dervoeti dervoeti moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Mar 2, 2026
Copy link
Member

@dervoeti dervoeti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adwk67 I tested this using Helm 4.1.1 on NixOS. I transformed the .j2 template into a YAML file and ran commands like this:

/tmp/helm411/linux-amd64/helm template minio --version 12.6.4 -f helm-bitnami-minio-values.yaml --repo https://charts.bitnami.com/bitnami minio | grep -C2 BITNAMI_DEBUG

I noticed two things:

  • Helm 4 does not error out for me when BITNAMI_DEBUG is set in extraEnvVars
  • When we remove BITNAMI_DEBUG here the value is set to false (was true before), is that intended?

@adwk67
Copy link
Member Author

adwk67 commented Mar 3, 2026

  • When we remove BITNAMI_DEBUG here the value is set to false (was true before), is that intended?

If I recall, we had some challenges 2+ years ago in getting minio to work for our tests on Openshift, as there are/were 2 different charts, both of which were broken in different ways. I think turning on the debug setting was done in that context, and was never removed. I don't see any reason to have that turned on by default (we could probably remove MINIO_LOG_LEVEL as well).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: In Review

Development

Successfully merging this pull request may close these issues.

2 participants